package com.qth.valet.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 通知表
 * @author 蔡徐坤
 * @since 2025-09-29
 */
@Data
@Accessors(chain=true)
@TableName("notice_driver")
public class NoticeDriver implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("driver_id")
    private Integer driverId;

    /** 通知类型（0充值成功 1代驾收入 2提现成功 3用户退款 4上线提成 5下线退款 6司机信息审核通过 7司机信息审核失败 8提现失败 9新增下线 10系统通知 */
    @TableField("type")
    private Integer type;

    @TableField("title")
    private String title;

    @TableField("content")
    private String content;

    @TableField("create_time")
    private Date createTime;
}
